package com.whu.waterworks.model;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * WaterPlantNorm entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="T_WATERPLANTNORM",schema="ZJ")

public class WaterPlantNorm {


    // Fields
     private String waterPlantId;
     private String selectedNorm;


    // Constructors

    /** default constructor */
    public WaterPlantNorm() {
    }

	/** minimal constructor */
    public WaterPlantNorm(String waterPlantId) {
        this.waterPlantId = waterPlantId;
    }
    
    /** full constructor */
    public WaterPlantNorm(String waterPlantId, String selectedNorm) {
        this.waterPlantId = waterPlantId;
        this.selectedNorm = selectedNorm;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="WATERPLANTID", unique=true, nullable=false, length=20)

    public String getWaterPlantId() {
        return this.waterPlantId;
    }
    
    public void setWaterPlantId(String waterPlantId) {
        this.waterPlantId = waterPlantId;
    }
    
    @Column(name="SELECTEDNORM")

    public String getSelectedNorm() {
        return this.selectedNorm;
    }
    
    public void setSelectedNorm(String selectedNorm) {
        this.selectedNorm = selectedNorm;
    }

}